package edu.nf.project.services.storeOperation.impl;

import edu.nf.project.entitys.dto.storeOperation.DishDTO;
import edu.nf.project.mappers.storeOperation.convention.DishDTOMapper;
import edu.nf.project.services.storeOperation.DishDTOService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author gjh
 * @Date 2025/6/11
 * @Description: 菜品信息服务实现类
 */
@Service
public class DishDTOServiceImpl implements DishDTOService {
    @Autowired
    private DishDTOMapper dishDTOMapper;

    @Override
    public List<DishDTO> getDishList() {
        List<DishDTO> dishList = dishDTOMapper.getDishList();
        return dishList;
    }
}
